package mydic;

public class Mydic {
    private  String english;
    private  String chinese;
    private  String  beizhu;
    private  int id;
Mydic(){}
    public Mydic(String english, String chinese, String beizhu, int id) {
        this.english = english;
        this.chinese = chinese;
        this.beizhu = beizhu;
        this.id = id;
    }

    public String getEnglish() {
        return english;
    }

    public void setEnglish(String english) {
        this.english = english;
    }

    public String getChinese() {
        return chinese;
    }

    public void setChinese(String chinese) {
        this.chinese = chinese;
    }

    public String getBeizhu() {
        return beizhu;
    }

    public void setBeizhu(String beizhu) {
        this.beizhu = beizhu;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    @Override
    public String toString() {
        return "{" +
                "英文='" + english + '\'' +
                ", 中文='" + chinese + '\'' +
                ", 备注='" + beizhu + '\'' +
                '}';
    }
}
